<div class="panel panel-default" ng-controller="BusVehicleDetailCtrl">
	<div class="panel-heading">
		跨城巴士 / 车辆档案 / 车辆编号：{{vehicle.code}} <span
			style="float: right; margin-top: -7px; height: 0px">
			<button type="submit" class="btn m-b-xs w-xs btn-info"
				ui-sref="app.bus.vehicle()">返回</button>
		</span>
	</div>
	<div class="row wrapper m-n">
		<div class="col-lg-12">
			<div class="panel panel-default">
				<div class="panel-body">车辆详细 </div>
			</div>
			<div class="table-responsive" style="margin-top: -20px">
				<table class="table table-striped b-t b-light">
					<tbody>
						<tr>
							<td>车辆编号：{{vehicle.code}}</td>
							<td>座位类型：{{vehicle.model}}</td>
							<td>车牌号：{{vehicle.plate}}</td>
						</tr>
						<tr>
							<td>车辆状态： <span ng-if="vehicle.status==0">未启用</span> <span
								ng-if="vehicle.status==1">正常</span> <span
								ng-if="vehicle.status==2">暂停使用</span>
							</td>
							<td>总座位数：{{vehicle.seats}}</td>
							<td>可售票数：{{vehicle.tickets}}</td>
						</tr>
						<tr>
							<td>是否公车： <span ng-if="vehicle.publicFlag">是</span> <span
								ng-if="!vehicle.publicFlag">否</span>
							</td>
							<td>使用年限：{{vehicle.years}}年</td>
							<td>行驶里程数：{{vehicle.mileage}}公里</td>
						</tr>
						<tr>
							<td>车主姓名：{{vehicle.owner}}</td>
							<td>车主身份证：{{vehicle.ownerIdCard}}</td>
							<td>车主手机号：{{vehicle.ownerPhone}}</td>
						</tr>
						<tr>
							<td>车主住址：{{vehicle.ownerAddr}}</td>
							<td>是否年检： <span ng-if="vehicle.inspected">已年检</span> <span
								ng-if="!vehicle.inspected">未年检</span>
							</td>
							<td>所属单位：{{vehicle.org.name}}</td>
						</tr>
						<tr>
							<td>保险单号：{{vehicleInsurance.number}}</td>
							<td>保险有效期：{{vehicleInsurance.period | date : 'yyyy-MM-dd'}}</td>
							<td>保险备注：{{vehicleInsurance.remark}}</td>
						</tr>
						<tr>
							<td>行驶证号：{{vehicle.license}}</td>
							<td>行驶证有效期（起）：{{vehicle.licenseStart | date : 'yyyy-MM-dd'
								}}</td>
							<td>行驶证有效期（止）：{{vehicle.licenseEnd | date : 'yyyy-MM-dd ' }}</td>
						</tr>
						<tr>
							<td>添加时间：{{vehicle.createTime | date : 'yyyy-MM-dd HH:mm:ss'}}</td>
							<td colspan="2">备注：{{vehicle.remark}}</td>
						</tr>
					</tbody>
				</table>
			</div>
		</div>

		<div class="col-lg-12">
			<div class="panel panel-default">
				<div class="panel-body">车辆型号</div>
			</div>
			<div class="table-responsive" style="margin-top: -20px">
				<table class="table table-striped b-t b-light">
					<thead>
						<tr>
							<th>名称</th>
							<th>座位类型</th>
							<th>总座位数</th>
							<th>驾驶席数</th>
						</tr>
					</thead>
					<tbody>
						<tr>
							<td>{{model.name}}</td>
							<td>{{model.model}}</td>
							<td>{{model.seats}}</td>
							<td>{{model.driverSeats}}</td>
						</tr>
					</tbody>
				</table>

			</div>
		</div>
	</div>
</div>